package com.lpz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 控制器controller
 */
@Controller
public class hellocontroller {
    //请求的映射，需要提供请求路径
    @RequestMapping(path = "/hello")
    public String sayhello(){
        System.out.println("点了一下");
        return  "success";
    }
}

